\documentclass[a4paper,12pt]{article} % 使用a4纸，12pt字体


\usepackage{plantuml}

\begin{document}

\begin{plantuml}
  @startuml
  Alice -> bob: hello
  Alice <- bob: world1
  @enduml
\end{plantuml}


\end{document}